package test

import java.io.File

import implicits.Implicits._

/**
 * Created by yz on 16/7/2020
 */
object Test2 {

  def main(args: Array[String]): Unit = {

//    val str = "abc,sdf,xcsd,cssdfsfd,sdssssssssssssd,sd"
//    val i = 1
//
//    val beforeI=str.nIndexOf(",",i-1)
//    val afterI=str.indexOf(",",beforeI+1)
//    val rs=str.slice(beforeI+1,afterI)
//    println(beforeI)
//    println(rs)

    val parent = new File("C:\\rJunBase_database\\test")
    val file = new File(parent, "DLBC_expr2.csv")
    println(file.csvLines.head.size)


  }

}
